@extends('layouts.admin')

@section('content')
    <script type="application/javascript" src="{{url()}}/js/queue.js"></script>

    <div class="modal-msg"></div>
    <p class="text-justify text-info">Note: Deleting a queue will result in the deletion of all the messages contained by the Queue. Please consider
    "Peak Messages", before deleting.</p>
    <hr>
    <div class="queue-wrapper">
        <form action="#" class="form delete-queue-form" method="post">

            <div class="form-group ">
                <div class="row">
                    <div class="col-md-2">
                        <label>Queue Name</label>
                    </div>
                    <div class="col-md-6"><input required="required" type="text" name="queue"
                                                 placeholder="Queue Name"
                                                 class="form-control queue-name"></div>
                </div>
            </div>
            <div class="form-group">
                <button onclick="deleteQueue()" class="margin-bottom-10 btn btn-md btn-primary">Delete Queue</button>
            </div>
        </form>
    </div>
@endsection

